import React from 'react';
import Typography from "@material-ui/core/Typography";

export default function InlineError({ error }) {
    return <Typography variant="subtitle1" color="error">{error}</Typography>
};